export interface VideoContext extends UniApp.VideoContext {
    volume: number;
    muted: boolean;
}

export interface VideoElement extends HTMLVideoElement {
    volume: number;
    muted: boolean;
}

export interface HlsConfig {
    enableWorker: boolean;
    lowLatencyMode: boolean;
    liveSyncDurationCount: number;
    liveMaxLatencyDurationCount: number;
    maxBufferSize: number;
    maxBufferLength: number;
    manifestLoadingTimeOut: number;
    manifestLoadingMaxRetry: number;
    levelLoadingTimeOut: number;
    levelLoadingMaxRetry: number;
    fragLoadingTimeOut: number;
    fragLoadingMaxRetry: number;
    defaultAudioCodec: string;
    abrEwmaDefaultEstimate: number;
    enableWebAudio: boolean;
    debug: boolean;
}